home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: mozart.unx.sas.com!jamie
- From: jamie@cdevil.unx.sas.com (James Cooper)
- Subject: Re: Raw key -> Vanilla key
- Originator: jamie@cdevil.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <DLn2LH.EI3@unx.sas.com>
- Date: Tue, 23 Jan 1996 14:51:17 GMT
- X-Nntp-Posting-Host: cdevil.unx.sas.com
- References: <590.6593T272T2384@norconnect.no> <4e08mn$bf0@news.ox.ac.uk>
- Organization: SAS Institute Inc.
-
-
- In article <4e08mn$bf0@news.ox.ac.uk>, Nick Christie <nick.christie@oucs.ox.ac.uk> writes:
- >kenneth@norconnect.no (Kenneth C. Nilsen) wrote:
- >>Does someone know how to convert a rawkey to vanilla key (OS friendly).
- >
- >I don't know if this is entirely applicable to your situation but
- >if you specify both IDCMP_VANILLAKEYS and IDCMP_RAWKEYS for your
- >window, you will get vanillakey msgs for those keys that can be
- >encoded that way (eg A-Z, 0-9, etc) and rawkey msgs for other keys
- >(eg. HELP, CrsrUp, etc). This is true for V37+ of the OS.
-
- Absolutely correct, and it works at least as far back as V33 of the OS,
- possibly further.
-
- >If you can only get rawkeys, you have to use that function
- >in the console device, I think.
-
- The function is RawKeyConvert(), but it only does part of the work. For
- a complete description of the proper method, see the 'rawkey.c' example
- in the 3rd Edition RKM: Libraries, page 277.
- --
- ---------------
- Jim Cooper
- (jamie@unx.sas.com) bix: jcooper
-
- Any opinions expressed herein are mine (Mine, all mine! Ha, ha, ha!),
- and not necessarily those of my employer.
-
- I'm NOT Politically Correct, but that's because I'm "Sensitivity Challenged."
-